Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25, 25' at line 5' in /opt/lampp/htdocs/application/models/news_manager.php:125
Stack trace:
#0 /opt/lampp/htdocs/application/models/news_manager.php(125): PDOStatement->execute()
#1 /opt/lampp/htdocs/application/controllers/newss.php(68): News_manager->get_all_news('Exempt%20from%2...', 25)
#2 [internal function]: Newss->more_headlines('Exempt%20from%2...')
#3 /opt/lampp/CodeIgniter_2.0.2/system/core/CodeIgniter.php(339): call_user_func_array(Array, Array)
#4 /opt/lampp/htdocs/application/index.php(202): require_once('/opt/lampp/Code...')
#5 {main}
thrown in /opt/lampp/htdocs/application/models/news_manager.php on line 125